package com.song.emp.provider.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.song.emp.provider.domain.Emp;
import com.song.emp.provider.service.EmpService;
import com.song.emp.provider.mapper.EmpMapper;
import com.song.emp.vo.EmpVo;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 *
 */
@Service
public class EmpServiceImpl extends ServiceImpl<EmpMapper, Emp>
    implements EmpService{

    @Resource
    private EmpMapper empMapper;
    @Override
    public EmpVo findById(int eid) {
        return this.empMapper.findById(eid);
    }
}




